/*
 * DRACOON API
 * REST Web Services for DRACOON<br><br>This page provides an overview of all available and documented DRACOON APIs, which are grouped by tags.<br>Each tag provides a collection of APIs that are intended for a specific area of the DRACOON.<br><br><a title='Developer Information' href='https://developer.dracoon.com'>Developer Information</a>&emsp;&emsp;<a title='Get SDKs on GitHub' href='https://github.com/dracoon'>Get SDKs on GitHub</a><br><br><a title='Terms of service' href='https://www.dracoon.com/terms/general-terms-and-conditions/'>Terms of service</a>
 *
 * OpenAPI spec version: 4.45.1
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package ch.cyberduck.core.sds.io.swagger.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * Customer settings
 */
@Schema(description = "Customer settings")

public class CustomerSettingsResponse {
  @JsonProperty("homeRoomsActive")
  private Boolean homeRoomsActive = null;

  @JsonProperty("homeRoomParentId")
  private Long homeRoomParentId = null;

  @JsonProperty("homeRoomParentName")
  private String homeRoomParentName = null;

  @JsonProperty("homeRoomQuota")
  private Long homeRoomQuota = null;

  public CustomerSettingsResponse homeRoomsActive(Boolean homeRoomsActive) {
    this.homeRoomsActive = homeRoomsActive;
    return this;
  }

   /**
   * Homerooms active
   * @return homeRoomsActive
  **/
  @Schema(required = true, description = "Homerooms active")
  public Boolean isHomeRoomsActive() {
    return homeRoomsActive;
  }

  public void setHomeRoomsActive(Boolean homeRoomsActive) {
    this.homeRoomsActive = homeRoomsActive;
  }

  public CustomerSettingsResponse homeRoomParentId(Long homeRoomParentId) {
    this.homeRoomParentId = homeRoomParentId;
    return this;
  }

   /**
   * Homeroom Parent ID
   * @return homeRoomParentId
  **/
  @Schema(description = "Homeroom Parent ID")
  public Long getHomeRoomParentId() {
    return homeRoomParentId;
  }

  public void setHomeRoomParentId(Long homeRoomParentId) {
    this.homeRoomParentId = homeRoomParentId;
  }

  public CustomerSettingsResponse homeRoomParentName(String homeRoomParentName) {
    this.homeRoomParentName = homeRoomParentName;
    return this;
  }

   /**
   * Homeroom Parent Name
   * @return homeRoomParentName
  **/
  @Schema(description = "Homeroom Parent Name")
  public String getHomeRoomParentName() {
    return homeRoomParentName;
  }

  public void setHomeRoomParentName(String homeRoomParentName) {
    this.homeRoomParentName = homeRoomParentName;
  }

  public CustomerSettingsResponse homeRoomQuota(Long homeRoomQuota) {
    this.homeRoomQuota = homeRoomQuota;
    return this;
  }

   /**
   * Homeroom Quota in bytes
   * @return homeRoomQuota
  **/
  @Schema(description = "Homeroom Quota in bytes")
  public Long getHomeRoomQuota() {
    return homeRoomQuota;
  }

  public void setHomeRoomQuota(Long homeRoomQuota) {
    this.homeRoomQuota = homeRoomQuota;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    CustomerSettingsResponse customerSettingsResponse = (CustomerSettingsResponse) o;
    return Objects.equals(this.homeRoomsActive, customerSettingsResponse.homeRoomsActive) &&
        Objects.equals(this.homeRoomParentId, customerSettingsResponse.homeRoomParentId) &&
        Objects.equals(this.homeRoomParentName, customerSettingsResponse.homeRoomParentName) &&
        Objects.equals(this.homeRoomQuota, customerSettingsResponse.homeRoomQuota);
  }

  @Override
  public int hashCode() {
    return Objects.hash(homeRoomsActive, homeRoomParentId, homeRoomParentName, homeRoomQuota);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class CustomerSettingsResponse {\n");
    
    sb.append("    homeRoomsActive: ").append(toIndentedString(homeRoomsActive)).append("\n");
    sb.append("    homeRoomParentId: ").append(toIndentedString(homeRoomParentId)).append("\n");
    sb.append("    homeRoomParentName: ").append(toIndentedString(homeRoomParentName)).append("\n");
    sb.append("    homeRoomQuota: ").append(toIndentedString(homeRoomQuota)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}
